package com.findFish.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.findFish.common.annotation.Excel;
import com.findFish.common.core.domain.BaseEntity;

/**
 * 机器鱼基本信息对象 robot_fish_info
 * 
 * @author admin
 * @date 2025-03-31
 */
public class RobotFishInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 机器鱼ID */
    private Long id;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 型号 */
    @Excel(name = "型号")
    private String model;

    /** 电池容量 */
    @Excel(name = "电池容量")
    private Long batteryCapacity;

    /** 制造商 */
    @Excel(name = "制造商")
    private String manufacturer;

    /** 部署日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "部署日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deployDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setModel(String model) 
    {
        this.model = model;
    }

    public String getModel() 
    {
        return model;
    }

    public void setBatteryCapacity(Long batteryCapacity) 
    {
        this.batteryCapacity = batteryCapacity;
    }

    public Long getBatteryCapacity() 
    {
        return batteryCapacity;
    }

    public void setManufacturer(String manufacturer) 
    {
        this.manufacturer = manufacturer;
    }

    public String getManufacturer() 
    {
        return manufacturer;
    }

    public void setDeployDate(Date deployDate) 
    {
        this.deployDate = deployDate;
    }

    public Date getDeployDate() 
    {
        return deployDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("model", getModel())
            .append("batteryCapacity", getBatteryCapacity())
            .append("manufacturer", getManufacturer())
            .append("deployDate", getDeployDate())
            .toString();
    }
}
